<?php if (!defined('THINK_PATH')) exit(); /*a:6:{s:68:"D:\laragon\www\zgh\public/../application/index\view\store\index.html";i:1528100844;s:65:"D:\laragon\www\zgh\application\index\view\common\application.html";i:1531374784;s:60:"D:\laragon\www\zgh\application\index\view\common\header.html";i:1527240550;s:60:"D:\laragon\www\zgh\application\index\view\common\search.html";i:1531374804;s:58:"D:\laragon\www\zgh\application\index\view\common\left.html";i:1526381918;s:60:"D:\laragon\www\zgh\application\index\view\common\footer.html";i:1530842738;}*/ ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title id="title">店铺中心-首页</title>
    <meta name="keywords" content="知果汇"/>
    <meta name="description" content="知果汇"/>
    <link rel="SHORTCUT ICON" href="_IMG_/favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="_CSS_/reset.css">
    <link rel="stylesheet" type="text/css" href="_CSS_/common.css">
    <link rel="stylesheet" type="text/css" href="_CSS_/slide.css">

    
<link rel="stylesheet" type="text/css" href="_CSS_/reset.css">
<link rel="stylesheet" type="text/css" href="_CSS_/common.css">
<link rel="stylesheet" type="text/css" href="_CSS_/help.css"/>
<link rel="stylesheet" type="text/css" href="_CSS_/store_center.css"/>
<!--[if lt IE 9]>
<script src="http://www.ijquery.cn/js/html5shiv.js"></script>
<![endif]-->
<style>
.store-info .store-logo img{border-radius:0;}
</style>

    <!--[if lt IE 9]>
    <script src="http://www.ijquery.cn/js/html5shiv.js"></script>

    <![endif]-->
</head>

<body>
<div class="wrapper">
    <!-- 顶部区域 -->
    

	<!-- 顶部区域 -->
	<div class="header">
		<div class="normalBox topbar clearfix">
			<div class="loginArea fl">
				<span>你好，欢迎！</span>
				<a href="javascript:;" class="loginBtn">请登录</a>
				<a href="javascript:;" class="registerBtn">免费注册</a>
			</div>
			<div class="loginSuccess fl">
				<span>你好，</span>
				<a class="username" href="<?php echo url('index/person/personal'); ?>"></a>
				<a href="javascript:;" class="logout">退出</a>
			</div>
			<div class="topbarArea fr">
				<ul class="topbarInfo clearfix">
					<li class="fl index">
						<a class="topbarNav" href="<?php echo url('index/index'); ?>">首页</a>
					</li>
					<li class="fl personInfo">
						<a class="topbarNav" href="<?php echo url('index/person/personal'); ?>">个人中心</a>
					</li>
					<li class="fl myOrder">
						<a class="topbarNav" href="<?php echo url('index/person/order'); ?>">我的订单</a>
					</li>
					<li class="fl shoppingCart">
						<a class="topbarNav" href="<?php echo url('index/cart/shopping_cart'); ?>">
							<span class="icons icon-car"></span> 购物车
						</a>
					</li>
					<li class="fl shopCenter">
						<a class="topbarNav" href="<?php echo url('index/store/index'); ?>">店铺中心</a>
					</li>
					<li class="fl collection">
						<a class="topbarNav" href="<?php echo url('index/person/collect_news'); ?>">
							我的收藏
							<span class="icons icon-pulldown"></span>
						</a>
						<div class="hideBox collectType">
							<a href="<?php echo url('index/person/collect_news'); ?>">收藏的资讯</a>
							<a href="<?php echo url('index/person/collect_course'); ?>">收藏的视频</a>
							<a href="<?php echo url('index/person/collect_products'); ?>">收藏的宝贝</a>
							<a href="<?php echo url('index/person/collect_stores'); ?>">收藏的店铺</a>
						</div>
					</li>
					<li class="fl helpCenter">
						<a class="topbarNav" href="<?php echo url('index/help/index'); ?>">
							帮助中心
							<span class="icons icon-pulldown"></span>
							<div class="hideBox collectType">
								<a href="<?php echo url('index/help/index'); ?>">用户须知</a>
								<a href="<?php echo url('index/help/help_mb'); ?>">常见问题</a>
								<a href="<?php echo url('index/help/help_xy'); ?>">用户协议</a>
								<a href="<?php echo url('index/help/help_bz'); ?>">法律保障</a>
								<a href="<?php echo url('index/help/feedback'); ?>">意见反馈</a>
							</div>
						</a>
					</li>
					<li class="fl concern">
						<a class="topbarNav" href="javascript:;">
							关注我们
							<span class="icons icon-pulldown"></span>
						</a>
						<div class="hideBox concernType clearfix">
							<a class="wx fl" href="javascript:;">
								<img src="_IMG_/wx.png" />
								<span>关注知果汇微信</span>
							</a>
							<a class="wb fr" href="javascript:;">
								<img src="_IMG_/wb.png" />
								<span>关注知果汇微博</span>
							</a>
						</div>
					</li>
					<li class="fl navigation hide">
						<a class="topbarNav" href="javascript:;">
							网站导航
							<span class="icons icon-pulldown"></span>
						</a>
						<div class="hideBox webNavi clearfix">
							<dl>
								<dt><a href="<?php echo url('index/service/index'); ?>">服务市场</a></dt>
								<dd class="clearfix">
									<a href="<?php echo url('index/service/index'); ?>">专利评议</a>
									<a href="<?php echo url('index/service/index'); ?>">专利维权</a>
									<a href="<?php echo url('index/service/index'); ?>">专利托管</a>
									<a href="<?php echo url('index/service/index'); ?>">专利代理</a>
									<a href="<?php echo url('index/service/index'); ?>">政策应用</a>
									<a href="<?php echo url('index/service/index'); ?>">设计开发</a>
								</dd>
							</dl>
							<dl>
								<dt><a href="<?php echo url('index/trade/index'); ?>">交易市场</a> </dt>
								<dd class="clearfix">
									<a href="<?php echo url('index/trade/index'); ?>">实用新型</a>
									<a href="<?php echo url('index/trade/index'); ?>">发明专利</a>
									<a href="<?php echo url('index/trade/index'); ?>">外观设计</a>
								</dd>
							</dl>
							<dl>
								<dt><a href="<?php echo url('index/government/index'); ?>">政务资讯</a> </dt>
								<dd class="clearfix">
									<a href="<?php echo url('index/government/index'); ?>">国务院要闻</a>
									<a href="<?php echo url('index/government/index'); ?>">IPR要闻</a>
									<a href="<?php echo url('index/government/index'); ?>">平台活动</a>
									<a href="<?php echo url('index/government/index'); ?>">知识学堂</a>
								</dd>
							</dl>
							<dl>
								<dt><a href="javascript:;">帮助中心</a> </dt>
								<dd class="clearfix">
									<a href="javascript:;">服务指南</a>
									<a href="javascript:;">订单管理</a>
									<a href="javascript:;">售后服务</a>
									<a href="javascript:;">支付及发票</a>
									<a href="javascript:;">账户及会员</a>
								</dd>
							</dl>
						</div>
					</li>
				</ul>
			</div>
		</div>
	</div>



     <!-- 搜索 -->
    

<!--搜索区域-->
<div class="searchBar">
    <div class="normalBox clearfix">
        <div class="logoArea fl">
            <a class="goIndex" href="<?php echo url('index/index'); ?>">
                <img src="_IMG_/web_logo.png">
            </a>
            <span class="title"></span>
        </div>
        <div class="searchArea fr clearfix">
            <input class="searchInput fl" id="keyword" type="search" placeholder="请输入关键词">
            <button id="submit_keyword" class="searchBtn fr">
                <span class="icons icon-search"></span>
            </button>
        </div>
        <div class="hotSearch fl clearfix">
        </div>
    </div>
</div>


	<!-- 导航 -->
	
    <!-- 主体内容 -->
    
<!-- 主体内容 -->
<div class="main">
    <div class="mainBody normalBox clearfix">
        <!--左菜单-->
        <ul class="menuList fl">
    <li class="li0">
        <a class="menuItem dropBg" href="<?php echo url('index/store/index'); ?>"><span class="icons icon-store"></span>店铺管理</a>
        <div class="childMenu">
            <a class="menuchildItem li00" href="<?php echo url('index/store/index'); ?>">店铺首页</a>
            <a class="menuchildItem li01" href="<?php echo url('index/store/install'); ?>">店铺资料设置</a>
            <a class="menuchildItem li02" href="<?php echo url('index/store/center'); ?>">查看我的店铺</a>
        </div>
    </li>
    <li class="li1">
        <a class="menuItem dropBg" href="<?php echo url('index/store/publish'); ?>"><span class="icons icon-release"></span>发布商品</a>
        <div class="childMenu">
            <a class="menuchildItem li10" href="<?php echo url('index/store/publish'); ?>">发布商品</a>
        </div>
    </li>
    <li class="li2">
        <a class="menuItem dropBg" href="<?php echo url('index/store/noshelves'); ?>"><span
                class="icons icon-ware"></span>商品管理</a>
        <div class="childMenu">
            <a class="menuchildItem li20" href="<?php echo url('index/store/noshelves'); ?>">未上架的商品</a>
            <a class="menuchildItem li21" href="<?php echo url('index/store/shelves'); ?>">已上架的商品</a>
            <a class="menuchildItem li22" href="<?php echo url('index/store/review'); ?>">待审核的商品</a>
            <a class="menuchildItem li23" href="<?php echo url('index/store/nopass'); ?>">审核未通过商品</a>
        </div>
    </li>
    <li class="li3">
        <a class="menuItem dropBg" href="<?php echo url('index/store/orders'); ?>"><span
                class="icons icon-orders"></span>订单管理</a>
        <div class="childMenu">
            <a class="menuchildItem li30" href="<?php echo url('index/store/orders'); ?>">订单管理</a>
        </div>
    </li>
    <li class="li4">
        <a class="menuItem dropBg" href="<?php echo url('index/store/complain'); ?>"><span class="icons icon-news"></span>消息中心</a>
        <div class="childMenu">
            <a class="menuchildItem li40" href="<?php echo url('index/store/complain'); ?>">交易申诉</a>
            <a class="menuchildItem li41" href="<?php echo url('index/store/message'); ?>">我的消息</a>
        </div>
    </li>
</ul>
        <!--右内容-->
        <div class="menuContent fr">
            <div class="menuConHeader">
                <!--面包屑导航-->
                <div class="breadcrumb">
                    <p>
                        <a href="javascript:;">店铺管理</a> &gt;
                        <a class="curPage" href="<?php echo url('index/store/index'); ?>">店铺首页</a>
                    </p>
                </div>
            </div>
            <div class="menuConBody">
                <div class="courseMenu">
                    <div class="conBody">
                        <div class="store-info">
                            <div class="store-logo">
                                <img src="_IMG_/store.jpg">
                            </div>
                            <div class="store-message">
                                <div class="store-name"><p></p></div>
                                <div class="store-att">
                                    <!-- 企业和个人店铺显示不同的标签 -->
                                    <p><span class="icons sp1"></span><span class="icons icon-sp3"></span></p>
                                </div>
                                <div class="store-scope">
                                    <p>
                                    </p>
                                </div>
                                <div class="store-in"><p><span>店铺收藏数:<b></b>次</span><span>店铺浏览量:<b></b>次</span></p>
                                </div>
                            </div>
                        </div>

                        <div class="store-record">
                            <!-- 交易店铺信息 -->
                            <div class="record-box">
                                <div class="record-title">
                                    <p>交易类商品</p>
                                </div>
                                <div class="record-list trading">
                                    <dl>
                                        <dt>商品管理</dt>
                                        <dd>出售中的商品:<span></span></dd>
                                        <dd>待上架的商品:<span></span></dd>
                                    </dl>
                                    <dl>
                                        <dt>订单提醒</dt>
                                        <dd>待选择订单: <span></span></dd>
                                        <dd>待付款订单: <span></span></dd>
                                        <dd>待确认订单: <span></span></dd>
                                        <dd>已完成订单: <span></span></dd>
                                    </dl>
                                    <dl>
                                        <dt>交易概况</dt>
                                        <dd>支付买家数：<span></span></dd>
                                        <dd style="width:180px;">支付金额：<span></span></dd>
                                    </dl>
                                </div>
                            </div>
                            <!-- 服务店铺信息 -->
                            <div class="record-box mr0">
                                <div class="record-title">
                                    <p>服务类商品</p>
                                </div>
                                <div class="record-list service">
                                    <dl>
                                        <dt>商品管理</dt>
                                        <dd>出售中的商品:<span></span></dd>
                                        <dd>待上架的商品:<span></span></dd>
                                    </dl>
                                    <dl>
                                        <dt>订单提醒</dt>
                                        <dd>待付款订单: <span></span></dd>
                                        <dd>待确认订单: <span></span></dd>
                                        <dd>待评价订单: <span></span></dd>
                                        <dd>已完成订单: <span></span></dd>
                                        <dd>退款中订单: <span></span></dd>
                                    </dl>
                                    <dl>
                                        <dt>交易概况</dt>
                                        <dd>支付买家数：<span></span></dd>
                                        <dd style="width:180px;">支付金额：<span></span></dd>
                                    </dl>
                                </div>
                            </div>
                        </div>


                    </div>
                </div>
            </div>

        </div>
    </div>
</div>


    <!-- 底部信息 -->
    

	<!-- 底部信息 -->
	<div class="footer">
		<div class="footArea">
			<div class="left">
				<div class="footNav">
					<a class="bigLinks" href="<?php echo url('index/about/index'); ?>">关于知果汇</a>
					<a class="normalLinks" href="<?php echo url('index/about/index'); ?>">公司简介</a>
					<a class="normalLinks" href="<?php echo url('index/about/abouts_zgh'); ?>">知果汇简介</a>
					<a class="normalLinks" href="<?php echo url('index/about/contacts'); ?>">联系我们</a>
				</div>
				<div class="footNav">
					<a class="bigLinks" href="<?php echo url('index/help/index'); ?>">帮助中心</a>
					<a class="normalLinks" href="<?php echo url('index/help/help_xy'); ?>">用户协议</a>
					<a class="normalLinks" href="<?php echo url('index/help/help_mb'); ?>">常见问题</a>
					<a class="normalLinks" href="<?php echo url('index/help/feedback'); ?>">意见反馈</a>
				</div>
				<div class="footNav">
					<a class="bigLinks" href="<?php echo url('index/guide/index'); ?>">服务指南</a>
					<a class="normalLinks" href="<?php echo url('index/guide/index'); ?>">交易条款</a>
					<a class="normalLinks" href="<?php echo url('index/guide/guarantee'); ?>">安全保障</a>
					<a class="normalLinks" href="<?php echo url('index/guide/flows'); ?>">交易答疑</a>
				</div>
			</div>
			<div class="middle">
				<p class="tel">027-87530959</p>
				<p class="workTime">周一至周五 09:00-17:30</p>
				<p class="address">地址：湖北省武汉市武昌区广八路8号</p>
				<p class="address">技术支持：武汉光谷知识产权联盟管理有限责任公司</p>
				<!--<p class="copyright">版权所有：湖北省知识产权局所有 武汉光谷知识产权联盟管理有限责任公司技术支持</p>-->				
			</div>
			<div class="right">
				<a class="weixin" href="javascript:;">
					<img src="_IMG_/wx.png"/>
					关注微信
				</a>
				<a class="weibo" href="javascript:;">
					<img src="_IMG_/wb.png"/>
					关注微博
				</a>
			</div>
		</div>
	</div>
	<div class="record">
		<div class="recordArea">
			<p class="copyright">Copyright©2016-2018 zhiguohui.com</p>
			<p class="copyright">版权所有：湖北省知识产权局所有</p>
			<p class="recordNo">鄂ICP备14005120-2号</p>
		 	<a class="recordLink" target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=42018502001973">
				<img src="_IMG_/ba.png" style="vertical-align: middle;"/>
				<p style="height:20px;">&nbsp;鄂公网安备 42018502001973号</p>
			</a>			
		</div>
	</div>

</div>
<!-- 脚本引入 -->
<script src="_JS_/jquery-1.8.3.min.js"></script>
<script src="_JS_/jquery.base64.js"></script>
<script src="_JS_/jquery.cookie.js"></script>
<script src="_JS_/jquery.SuperSlide.2.1.2.js"></script>
<script src="_JS_/common.js"></script>
<script type="text/javascript" src="_JS_/getDate.js"></script>
<script src="_JS_/search.js"></script>
<script>
       $(function () {
        $.ajax({
            type: 'get',
            url: "<?php echo url('api/keyword/index'); ?>",
            dataType: 'jsonp',
            success: function (msg) {
                if (msg.code == 200) {
                    if (msg.data.length == 0) {
                        var html = '<a class="searchItem fl" href="javascript:;">国内专利申请</a>' +
                            '<a class="searchItem fl" href="javascript:;">专利许可</a>' +
                            '<a class="searchItem fl" href="javascript:;">科研项目研究</a>' +
                            '<a class="searchItem fl" href="javascript:;">政府项目管理</a>';
                        $(".hotSearch").html(html);
                    } else {
                        var html = '';
                        for (var i = 0; i < msg.data.length; i++) {
                            html += '<a class="searchItem fl" href="javascript:;">' + msg.data[i].keyword + '</a>';
                        }
                        $(".hotSearch").html(html);
                    }
                } else {
                    layer.msg('网络错误！', {icon: 5});
                }
            },
        })
    });

    $(document).on('click', '.searchItem', function () {
        var keyword = $(this).text();
        window.location.href = "<?php echo url('index/search/search_work'); ?>?" + keyword
        getfole(keyword);
    });
    $("#submit_keyword").on('click', function () {
        var keyword = $("#keyword").val();
        window.location.href = "<?php echo url('index/search/search_work'); ?>?" + keyword
        getfole(keyword);
    });


    //回车键绑定搜索
    $(".searchArea").keydown(function (event) {
        if (event.keyCode == 13) {
            var keyword = $("#keyword").val();
            window.location.href = "<?php echo url('index/search/search_work'); ?>?" + keyword
            getfole(keyword);
        }
    });
	  function getfole(keyword) {
        $.ajax({
            type: 'get',
            url: "<?php echo url('api/keyword/keyword'); ?>",
            data: {keyword: keyword},
            dataType: 'jsonp'
        })
    }
</script>

<!-- 脚本引入 -->
<script src="_P_/layer/layer.js"></script>
<script>
    $(document).ready(function () {
        $('.li0').addClass('showChild');
        $('.li00').addClass('activeMenu');
    });
    $(function () {
        var userinfo = $.cookie('userinfo');
        if (userinfo != null) {
            var user_login = $.base64.decode(userinfo).split(",");
            $.ajax({
                type: "get",
                url: "<?php echo url('api/shop/index'); ?>",
                data: {'uid': user_login[0]},
                dataType: 'jsonp',
                success: function (msg) {
					if (msg.code == 1000) {
                        layer.msg(msg.message, {icon: 5, time: 1000}, function () {
                            window.location.href = "<?php echo url('index/store/store_open1'); ?>";
                        });
                    }
					if (msg.code == 1001) {
                        layer.msg(msg.message, {icon: 5, time: 1000}, function () {
                            window.location.href = "<?php echo url('index/store/store_open6'); ?>";
                        });
                    }
					if (msg.code == 1002) {
                        layer.msg(msg.message, {icon: 5, time: 1000}, function () {
                            window.location.href = "<?php echo url('index/store/store_open7'); ?>";
                        });
                    }
                    if (msg.code == 200) {
                        if (msg.data.shop_id == 1) {
                            $(".mr0").hide();
                        }
                        if(msg.data.image == null){
							$(".store-logo img").attr('src', "/static/web/images/store.jpg");
						}else{
							$(".store-logo img").attr('src', "/Images/Information/" + msg.data.image);
						}
                        $(".store-name p").text(msg.data.name);
                        if (msg.data.label_shop.length > 0) {
                            for (var i = 0; i < msg.data.label_shop.length; i++) {
                                if ($.inArray(msg.data.label_shop[i].id + '', msg.data.label) != -1) {
                                    $('.store-scope p').append('<span>' + msg.data.label_shop[i].name + '</span>');
                                }
                            }
                        }
						var money01 = number_format(msg.data.status7, 2, ".", ",");
						var money02 = number_format(msg.data.static7, 2, ".", ",");
                        $(".store-in b").eq(0).text(msg.data.collect);
                        $(".store-in b").eq(1).text(msg.data.shop_view);
                        $(".trading span").eq(0).text(msg.data.shop_count);
                        $(".trading span").eq(1).text(msg.data.trading_count);
                        $(".trading span").eq(2).text(msg.data.status1);
                        $(".trading span").eq(3).text(msg.data.status2);
                        $(".trading span").eq(4).text(msg.data.status3);
                        $(".trading span").eq(5).text(msg.data.status5);
                        $(".trading span").eq(6).text(msg.data.status6);
                        $(".trading span").eq(7).text('￥'+money01);

                        $(".sp1").text(msg.data.shop_name);

                        $(".service span").eq(0).text(msg.data.service_count);
                        $(".service span").eq(1).text(msg.data.s_count);
                        $(".service span").eq(2).text(msg.data.static1);
                        $(".service span").eq(3).text(msg.data.static2);
                        $(".service span").eq(4).text(msg.data.static3);
                        $(".service span").eq(5).text(msg.data.static4);
                        $(".service span").eq(6).text(msg.data.static5);
                        $(".service span").eq(7).text(msg.data.static6);
                        $(".service span").eq(8).text('￥'+money02);

                    } 
					
                }
            })
        } else {
            window.location.href = "<?php echo url('index/login/index'); ?>";
        }
    })
</script>

</body>
</html>